<template>
  <div>
    <h1>options Api</h1>
    {{ count }}
    <button @click="add">加1</button>
  </div>
</template>

<script lang="ts">
export default {
  data () {
    return {
      count: 100,
      msg: 'hello world'
    }
  },
  methods: {
    add () {
      this.count++
    },
    changeMsg () {
      this.msg = "您好世界"
    }
  }
}
</script>
